package edu.sctu.practice.class02.liuli.test.test02;

/**
 * Created by Administrator on 2015/10/15.
 */
public class B {
    public static void main(String[] args) {

        Vehicle vehicle = new Vehicle();

        vehicle.size = "奥迪A8";
        vehicle.speed = 100;
        System.out.println("size=" + vehicle.size + "...speed=" + vehicle.speed);

        vehicle.speedDown(70);
        vehicle.speedUp(120);
    }
}
